package com.qqtech.qquan.community.dao;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Repository;

import com.qqtech.core.frame.dao.BaseDaoImpl;
import com.qqtech.qquan.community.model.*;

@Repository
public class CommunityLocalnewsDaoImpl extends BaseDaoImpl<CommunityLocalnews> implements CommunityLocalnewsDao {
	public static final Logger log = LoggerFactory.getLogger(CommunityLocalnewsDaoImpl.class);

	@Override
	public int updatePv(Integer id) {
		return sqlSessionTemplate.update(getSqlName("updateAddPv"), id);
	}
	
}
